﻿

namespace Jim.SHR;

/// <summary>职位取数接口（全量）</summary>   
[Sdk("inteOAGetEmpOrgRelationService", "职位取数接口（全量）")]
public class SHRInteOAGetEmpOrgRelationServiceRequest : ISdkRequest<SHRInteOAGetEmpOrgRelationServiceResponse>
{

}

public class SHRInteOAGetEmpOrgRelationServiceResponse : SdkResponse<List<SHREmpOrgRelation>> { }

public class SHREmpOrgRelation
{
    /// <summary>
    /// 出生日期
    /// </summary>
    /// <value>string</value>
    [JsonProperty("position_id")]
    public string PositionId { get; set; }
    /// <summary>
    /// 任职类型,0：兼职，1：主要任职，3：无
    /// </summary>
    /// <value>string</value>
    public string IsPrimary { get; set; }
    /// <summary>
    /// 员工 ID
    /// </summary>
    /// <value>string</value>
    [JsonProperty("user_id")]
    public string UserId { get; set; }
    /// <summary>
    /// 任职 ID
    /// </summary>
    /// <value>string</value>
    [JsonProperty("eas_id")]
    public string EasId { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    /// <value>string</value>
    public string FCreateTime { get; set; }
    /// <summary>
    /// 最后修改时间
    /// </summary>
    /// <value>string</value>
    public string FLastUpdateTime { get; set; }
    /// <summary>
    /// 用工关系状态编码
    /// </summary>
    /// <value>string</value>
    [JsonProperty("empType_number")]
    public string EmpTypeNumber { get; set; }
    /// <summary>
    /// 人员编码
    /// </summary>
    /// <value>string</value>
    [JsonProperty("person_number")]
    public string PersonNumber { get; set; }
    /// <summary>
    /// 岗位编码
    /// </summary>
    /// <value>string</value>
    [JsonProperty("position_number")]
    public string PositionNumber { get; set; }
    /// <summary>
    /// 开始时间
    /// </summary>
    /// <value>string</value>
    public string FEffdt { get; set; }
    /// <summary>
    /// 结束时间
    /// </summary>
    /// <value>string</value>
    public string FLeffdt { get; set; }
}
